github.com/jackc/pgx/v5/internal/sanitize.sqlLexer.src (field)
33 uses
github.com/jackc/pgx/v5/internal/sanitize (current package)
sanitize.go#L143: l.src = sql
sanitize.go#L212: src string
sanitize.go#L225: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L230: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L240: nextRune, _ := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L243: l.parts = append(l.parts, l.src[l.start:l.pos-width])
sanitize.go#L252: if tagLen, ok := scanDollarQuoteTag(l.src[l.pos:]); ok {
sanitize.go#L253: l.dollarTag = l.src[l.pos : l.pos+tagLen]
sanitize.go#L258: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L264: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L272: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L283: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L288: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L296: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L307: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L312: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L320: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L335: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L363: idx := strings.Index(l.src[l.pos:], closer)
sanitize.go#L367: if len(l.src)-l.start > 0 {
sanitize.go#L368: l.parts = append(l.parts, l.src[l.start:])
sanitize.go#L369: l.start = len(l.src)
sanitize.go#L371: l.pos = len(l.src)
sanitize.go#L422: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L427: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L430: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L438: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L449: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L458: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L469: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L474: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L480: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L494: l.parts = append(l.parts, l.src[l.start:l.pos])